package tag21_07_08.garbagecollector;

class Auto{
	Garage garage;
}


class Garage{
	Auto auto;
}


public class InselgruppeAufDemHeap {

	public static void main(String[] args) {

		Auto  a1 = new Auto();
		Garage g1 = new Garage();
		
		a1.garage = g1;
		g1.auto = a1;
		
		
		a1 = null;
		
		//Zeile A.
		
		
		g1 = null;
		
		//Zeile B.
		
		
	}// end of main

}
